package com.ruoyi.baseSys.controller;

import com.ruoyi.baseSys.domain.MBuildingManage;
import com.ruoyi.baseSys.domain.UserInfo;
import com.ruoyi.baseSys.service.IMBuildingManageService;
import com.ruoyi.baseSys.service.IMHouseholdInfoService;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * 楼栋管理Controller
 * 
 * @author ruoyi
 * @date 2024-07-25
 */
@RestController
@RequestMapping("/baseSys/userinfo")
public class UserInfoController extends BaseController
{
    @Autowired
    private IMHouseholdInfoService imHouseholdInfoService;


    /**
     * 用户注册信息添加
     */
    @Log(title = "楼栋管理", businessType = BusinessType.EXPORT)
    @PostMapping()
    public String adduserinfo(@RequestBody UserInfo userInfo)
    {
        return imHouseholdInfoService.adduserinfo(userInfo);
    }


}
